home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 38 / PC Gamer IT CD 38 1-2.iso / HG2DEMO / hg2demo.exe / data / Shell / ldl / template.ldl < prev   
Text File  |  1998-10-27  |  14KB  |  659 lines

  1. #######################################
  2. # File: template.ldl
  3. # Last Access: Wed May 20 15:50:49 1998
  4. #######################################
  5.  
  6.  
  7. ##-----------------------------------##
  8. ##             Templates             ##
  9. ##-----------------------------------##
  10. template nswindow {
  11.     int    widthpix    640
  12.     int    heightpix    480
  13.     string    tile    "SBackgnd.TGA"
  14. }
  15.  
  16. template nsscreen {
  17.     int    widthpix    640
  18.     int    heightpix    480
  19.     string tile     "SBackgnd.TGA"
  20. }
  21.  
  22. template nsstatictext:FONT_12:MULTICOLOR {
  23.     string    just    "left"
  24. }
  25.  
  26. template nsstatictext1:FONT_10:MULTICOLOR {
  27.     string    just    "left"
  28. }
  29.  
  30. template nsstatictext2:FONT_8:MULTICOLOR  {
  31.     string    just    "left"
  32. }
  33.  
  34. template nstitlestatictext:FONT_8:MULTICOLOR {
  35.     int    xpix    398
  36.     int    ypix    50    
  37.     int    widthpix    150
  38.     int    heightpix    15
  39.     string    just    "left"
  40. }
  41.  
  42. template nsbutton2:FONT_8:MULTICOLOR {
  43.     int        widthpix    42
  44.     int        heightpix    17
  45.     string    image0    "SBTN014U.TGA"
  46.     string    activeimage0    "SBTN014M.TGA"
  47. #    string    disabledimage0    "SBTN014X.TGA"
  48.     string    image1    "SBTN014D.TGA"
  49. }
  50.  
  51. template nsclosebutton:BUTTON_FONT:MULTICOLOR {
  52. ###############################
  53. ### Why have this option?  ####
  54. ###############################
  55.     int    xpix    159
  56.     int    ypix    429
  57.     int    widthpix    108
  58.     int    heightpix     32
  59.     string    text    "QUIT GAME"
  60.     string    image0    "SBTN002U.TGA"
  61.     string    activeimage0    "SBTN002M.TGA"
  62.     string    disabledimage0    "SBTN002X.TGA"
  63.     string    image1    "SBTN002D.TGA"
  64. }
  65.  
  66. template nsprevbutton:BUTTON_FONT:MULTICOLOR {
  67.     int    xpix    51
  68.     int    ypix    429
  69.     int    widthpix    104
  70.     int    heightpix     32
  71.     string    text    "BACK"
  72.     string    image0    "SBTN002U.TGA"
  73.     string    activeimage0    "SBTN002M.TGA"
  74.     string    disabledimage0    "SBTN002X.TGA"
  75.     string    image1    "SBTN002D.TGA"
  76. }
  77.  
  78. template nshelpbutton {
  79.     int    xpix    267
  80.     int    ypix    429
  81.     int    widthpix    108
  82.     int    heightpix     32
  83.     string    text    "HELP"
  84.     string    image0    "SBTN002U.TGA"
  85.     string    activeimage0    "SBTN002M.TGA"
  86.     string    disabledimage0    "SBTN002X.TGA"
  87.     string    image1    "SBTN002D.TGA"
  88.     string    helpfile    "shell\\help\\readme.hlp"
  89.     int    contextid    1
  90. }
  91.  
  92. template nsnextbutton:BUTTON_FONT:MULTICOLOR {
  93.     int    xpix    483
  94.     int    ypix    429
  95.     int    widthpix    108
  96.     int    heightpix     32
  97.     string    text    "NEXT"
  98.     string    image0    "SBTN002U.TGA"
  99.     string    activeimage0    "SBTN002M.TGA"
  100.     string    disabledimage0    "SBTN002X.TGA"
  101.     string    image1    "SBTN002D.TGA"
  102. }
  103. ####### This is temporary until completely phased out #######
  104. template nsheaderswitch:FONT_9:MULTICOLOR {
  105.     string    image0    "SBTN013U.TGA"
  106.     string    activeimage0    "SBTN013M.TGA"
  107. #    string    disabledimage0    "SBTN013X.TGA"
  108.     string    image1    "SBTN013D.TGA"
  109. }
  110. #############################################################
  111.  
  112. template nslongheaderswitch:FONT_8:MULTICOLOR {
  113.     string    image0    "SBTN013U.TGA"
  114.     string    activeimage0    "SBTN013M.TGA"
  115. #    string    disabledimage0    "SBTN013X.TGA"
  116.     string    image1    "SBTN013D.TGA"
  117. }
  118.  
  119. template nsmediumheaderswitch:FONT_8:MULTICOLOR {
  120.     string    image0    "SBTN016U.TGA"
  121.     string    activeimage0    "SBTN016M.TGA"
  122. #    string    disabledimage0    "SBTN016X.TGA"
  123.     string    image1    "SBTN016D.TGA"
  124. }
  125.  
  126. template nsshortheaderswitch:FONT_8:MULTICOLOR {
  127.     string    image0    "SBTN014U.TGA"
  128.     string    activeimage0    "SBTN014M.TGA"
  129. #    string    disabledimage0    "SBTN014X.TGA"
  130.     string    image1    "SBTN014D.TGA"
  131. }
  132.  
  133. template nsbuttonswitch:FONT_8:MULTICOLOR {
  134.     string    image0    "SBTN017U.TGA"
  135.     string    activeimage0    "SBTN017M.TGA"
  136. #    string    disabledimage0    "SBTN017X.TGA"
  137.     string    image1    "SBTN017D.TGA"
  138. }
  139.  
  140. template nsbutton:FONT_8:MULTICOLOR {
  141. ###### USE TXTBTN16 INSTEAD ######
  142.     string    image0    "SBTN016U.TGA"
  143.     string    activeimage0    "SBTN016M.TGA"
  144.     string    image1    "SBTN016D.TGA"
  145.     int    deflatetextrectx    10
  146.     string    just    "left"
  147. }
  148.  
  149. template nsdropdownbutton {
  150.     string    image0    "SBTN027U.TGA"
  151.     string    activeimage0    "SBTN027M.TGA"
  152.     string    image1    "SBTN027D.TGA"
  153. #    int    deflatetextrectx    5
  154. #    string    just    "left"
  155. }
  156.  
  157. template nsscrollbar {
  158.     string    image0    "SFRA009X.TGA"
  159. #    string    imageblttype    "stretch"
  160. }
  161.  
  162. template nstextstyle {
  163.     int    fontcolorred        138
  164.     int    fontcolorgreen        218
  165.     int    fontcolorblue        255
  166.     int    fontshadowcolorred    0
  167.     int    fontshadowcolorgreen    0
  168.     int    fontshadowcolorblue    0
  169.     string    text            ""
  170.     int    maxlength            1
  171.     bool    boldfont            false
  172.     bool    italicfont            false
  173.     bool    underlinefont        false
  174.     bool    shadowfont            false
  175.     int    fontsize    20
  176.     string fontname            "s017016d.ttf"
  177. }
  178.  
  179. #############################################
  180. # SCROLL BARS
  181. #############################################
  182. # Horizontal and vertical scroll bars for
  183. # general use
  184. #############################################
  185.  
  186. template VERTSCROLLBAR {
  187.     rangery {
  188.         int    widthpix    12
  189.         bool    quantizedrag    true
  190.         bool    rigidthumb    true
  191.         bool    windowblend    true
  192.         bool    resizablethumb    FALSE
  193.         string    orientation    "vertical"
  194.         string    type    "scroller"
  195.         string    image0    "SSBR001X.TGA"
  196.         string    imageblttype    "tile"
  197.         incy:DOWN_ARROW {
  198.         }
  199.         decy:UP_ARROW {
  200.         }
  201.         thumb:VERT_THUMB {
  202.         }
  203.     }
  204. }
  205.  
  206. template HORIZSCROLLBAR {
  207.     int    heightpix    12
  208.     bool    quantizedrag    true
  209.     bool    rigidthumb    true
  210.     bool    windowblend    true
  211.     bool    resizablethumb    FALSE
  212.     string    orientation    "horizontal"
  213.     string    type    "scroller"
  214.     string    image0    "SSBR006X.TGA"
  215.     string    imageblttype    "tile"
  216.     incx:RIGHT_ARROW {
  217.     }
  218.     decx:LEFT_ARROW {
  219.     }
  220.     thumb:HORIZ_THUMB {
  221.     }
  222. }
  223. #############################################
  224.  
  225. template nsitem:FONT_7:MULTICOLOR  {
  226. ### These are the listbox items themselves ###
  227.     int    widthpct    100
  228.     int    heightpix    20
  229.     string    just    "center"
  230. }
  231. #################################################
  232. # The following is an example of a standard
  233. # listbox lead block. This code is not called
  234. # anywhere, but is included here for comparison
  235. # purposes since each listbox is unique usually.
  236. #################################################
  237. samplelistbox {
  238.     int        xpix            187        
  239.     int        ypix            165
  240.     int        widthpix        261
  241.     int        heightpix        142
  242.     int        itemoffsetx        4
  243.     int        itemoffsety        30
  244.     int        itemwidth        254
  245.     int        itemheight        20
  246.     int        headeroffsety    -4
  247.     bool        alwaysranger    TRUE
  248.     string    image0        "sfra007x.tga"
  249.     string    selectimage     "sbtn008d.TGA"
  250.     string    executesound    "general.wav"
  251.     string    activatesound    "mouseover.wav"
  252.     item:nsitem {
  253.     }
  254. }
  255.  
  256. #############################
  257.  
  258. ##################################
  259. # This is the standard chat box
  260. # for multiplayer screens.
  261. ##################################
  262. template nschatbox:BLOCK_TEXT:MULTICOLOR:VERTSCROLLBAR {
  263.     int    xpix    373
  264.     int    ypix    65
  265.     int    widthpix    194
  266.     int    itemwidth    180
  267.     int    itemheight    13
  268.     int    heightpix    290
  269.     int    maxlength    25600
  270.     string    image0    "SFRA002X.TGA"
  271.     systemmessage:BLOCK_TEXT:system_color {
  272.         int    widthpix    180
  273.     }
  274.     chatmessage:BLOCK_TEXT:MULTICOLOR {
  275.         int    widthpix    180
  276.     }
  277.     whispermessage:BLOCK_TEXT:whisper_color {
  278.         int    widthpix    180
  279.     }
  280.     inputfield:CHATNTR1:BLOCK_TEXT:MULTICOLOR {
  281.         int    xpix            4
  282.         int    ypix            298
  283.         bool    wordwrap    TRUE
  284.         int    textfieldlength    95
  285.     }
  286. }
  287.  
  288. template nslistbox:VERTSCROLLBAR {
  289.     int    itemoffsetx        4
  290.     int    itemoffsety        27
  291.     int    itemheight        15
  292.     int    headeroffsety    -4
  293.     item:nsitem {
  294.     }
  295. }
  296.  
  297. template nslistbox1:VERTSCROLLBAR {
  298.     int    widthpix    112
  299.     int    heightpix    96
  300.     int    itemoffsetx    2
  301.     int    itemoffsety    0
  302.     int    rangeryoffsetx    0
  303. #    string    selectimage "SBTN003D.TGA"
  304.     string    imageblttype    "stretch"
  305.     string    image0    "SDBx004x.TGA"
  306.     string    activeimage0    "SDBx004x.TGA"
  307.     string    image1    "SDBx004x.TGA"
  308.     item:FONT_7:MULTICOLOR {
  309.         int    widthpix    112
  310.         int    heightpix    16
  311.         string    just    "center"
  312.     }
  313.  
  314. }
  315.  
  316. template nslistbox2:VERTSCROLLBAR {
  317.     int    widthpix    172
  318.     int    heightpix    96
  319.     int    itemoffsetx    2
  320.     int    itemoffsety    0
  321.     int    rangeryoffsetx    0
  322. #    string    selectimage "SBTN003D.TGA"
  323.     string    imageblttype    "stretch"
  324.     string    image0    "SDBx004x.TGA"
  325.     string    activeimage0    "SDBx004x.TGA"
  326.     string    image1    "SDBx004x.TGA"
  327.     item:FONT_7:MULTICOLOR {
  328.         int    widthpix    112
  329.         int    heightpix    16
  330.         string    just    "center"
  331.     }
  332.  
  333. }
  334.  
  335. template nslistbox3:dark_blue:VERTSCROLLBAR {
  336.     int    widthpix    112
  337.     int    heightpix    96
  338.     int    itemoffsetx    0
  339.     int    itemoffsety    0
  340.     int    rangeryoffsetx    2
  341. #    string    selectimage "SBTN003D.TGA"
  342.     string    imageblttype    "stretch"
  343.     string    image0    "SDBx004z.TGA"
  344.     string    activeimage0    "SDBx004z.TGA"
  345.     string    image1    "SDBx004z.TGA"
  346.     item:FONT_7:dark_blue {
  347.         int    widthpix    112
  348.         int    heightpix    16
  349.         string    just    "center"
  350.     }
  351.  
  352. }
  353.  
  354. template nsdropdown {
  355.     int    widthpix    124
  356.     int    heightpix    16
  357.     string    image0    "SBTN023U.TGA"
  358.     string    activeimage0    "SBTN023U.TGA"
  359.     string    image1    "SBTN023U.TGA"
  360.     item:FONT_7:MULTICOLOR {
  361.         int    widthpix    124
  362.         int    heightpix    16
  363.         bool    vertcenter TRUE
  364.         string    just    "center"
  365.     }
  366.      button {
  367.     }
  368.     window {
  369.         int    heightpix    70
  370.         listbox:nslistbox1 {
  371.         }
  372.     }
  373. }
  374.  
  375. template nsdropdown2 {
  376.     int    widthpix    172
  377.     int    heightpix    26
  378.     string    image0    "SBTN044U.TGA"
  379.     string    activeimage0    "SBTN044M.TGA"
  380.     string    image1    "SBTN044D.TGA"
  381.     string    activatesound    "mouseover.wav"
  382.     string    executesound    "general.wav"
  383.     item:FONT_7:MULTICOLOR {
  384.         int    widthpix    172
  385.         int    heightpix    26
  386.         bool    vertcenter TRUE
  387.         string    just    "center"
  388.     }
  389.      button {
  390.     }
  391.     window {
  392.         int    heightpix    70
  393.         listbox:nslistbox2 {
  394.         }
  395.     }
  396. }
  397.  
  398. template nsdropdown3 {
  399.     int    widthpix    124
  400.     int    heightpix    16
  401.     string    image0    "SBTN023U.TGA"
  402.     string    activeimage0    "SBTN023U.TGA"
  403.     string    image1    "SBTN023U.TGA"
  404.     item:FONT_7:dark_blue {
  405.         int    widthpix    124
  406.         int    heightpix    16
  407.         bool    vertcenter TRUE
  408.         string    just    "center"
  409.     }
  410.      button {
  411.     }
  412.     window {
  413.         int    heightpix    70
  414.         listbox:nslistbox3 {
  415.         }
  416.     }
  417. }
  418.  
  419.  
  420. ##-----------------------------------##
  421. ##      MULTIPLAYER DIALOG BOXES     ##
  422. ##-----------------------------------##
  423. connectdialogboxwindow {
  424.     string    xanchor    "center"
  425.     string    yanchor    "center"
  426.     int    widthpix    198
  427.     int    heightpix    100
  428.     string    tile    "sloadngx.tga"
  429.     titlestatictext:FONT_8:MULTICOLOR:loadbar.connect {
  430.         int    xpix    25
  431.         int    ypix    22
  432.         int    widthpix    150
  433.         int    heightpix    15
  434.         string    just    "left"
  435.     }
  436.     descriptionstatictext:nsstatictext {
  437.     #    int    xpct    5
  438.     #    int    ypct    15
  439.     #    int    widthpct    90
  440.     #    int    heightpct    65
  441.     #    string    text    ""
  442.     }
  443.     progressbar {
  444.         string    xanchor    "center"
  445.         int    ypix    42
  446.         int    widthpix    180
  447.         int    heightpix    49
  448.         string    image0    "sloadngu.tga"
  449.         string    barimage    "sloadngd.tga"
  450.         string    type    "backandforth"
  451.         int    valuespersecond    100
  452.     }
  453.     button0:FONT_7:MULTICOLOR {
  454. #        string    xanchor    "right"
  455. #        int    ypix    65
  456. #        string    just    "center"
  457. #        string    text    "OK"
  458. #        string    executesound    "accept.wav"
  459.     }
  460.     button1:FONT_7:MULTICOLOR2:loadbar.cancel {
  461.         int    xpix    137
  462.         int    ypix    23
  463.         int    widthpix    34
  464.         int    heightpix    14
  465.         string    just    "center"
  466.     }
  467.     button2:FONT_7:MULTICOLOR2 {
  468.     #    string    xanchor    "right"
  469.     #    int    ypct        75
  470.     #    string    text    "Help"
  471.     }
  472. }
  473.  
  474. joinlobbydialogboxwindow {
  475.     string    xanchor    "center"
  476.     string    yanchor    "center"
  477.     int    widthpix    198
  478.     int    heightpix    100
  479.     string    tile    "sloadngx.tga"
  480.     titlestatictext:FONT_8:MULTICOLOR:loadbar.joinlob {
  481.         int    xpix    25
  482.         int    ypix    22
  483.         int    widthpix    150
  484.         int    heightpix    15
  485.         string    just    "left"
  486.     }
  487.     descriptionstatictext:FONT_8:MULTICOLOR {
  488.     #    int    xpct    5
  489.     #    int    ypct    15
  490.     #    int    widthpct    90
  491.     #    int    heightpct    65
  492.     #    string    text    ""
  493.     }
  494.     progressbar {
  495.         string    xanchor    "center"
  496.         int    ypix    42
  497.         int    widthpix    180
  498.         int    heightpix    49
  499.         string    image0    "sloadngu.tga"
  500.         string    barimage    "sloadngd.tga"
  501.         string    type    "backandforth"
  502.         int    valuespersecond    100
  503.     }
  504.     button0:FONT_7:MULTICOLOR2:loadbar.cancel {
  505.         int    xpix    137
  506.         int    ypix    23
  507.         int    widthpix    34
  508.         int    heightpix    14
  509.         string    just    "center"
  510.     }
  511. }
  512.  
  513. findserverdialogboxwindow {
  514.     string    xanchor    "center"
  515.     string    yanchor    "center"
  516.     int    widthpix    198
  517.     int    heightpix    100
  518.     string    tile    "sloadngx.tga"
  519.     titlestatictext:FONT_8:MULTICOLOR:loadbar.find {
  520.         int    xpix    25
  521.         int    ypix    22
  522.         int    widthpix    150
  523.         int    heightpix    15
  524.         string    just    "left"
  525.     }
  526.     descriptionstatictext:nsstatictext {
  527.     #    int    xpct    5
  528.     #    int    ypct    15
  529.     #    int    widthpct    90
  530.     #    int    heightpct    65
  531.     #    string    text    ""
  532.     }
  533.     progressbar {
  534.         string    xanchor    "center"
  535.         int    ypix    42
  536.         int    widthpix    180
  537.         int    heightpix    49
  538.         string    image0    "sloadngu.tga"
  539.         string    barimage    "sloadngd.tga"
  540.         string    type    "backandforth"
  541.         int    valuespersecond    100
  542.     }
  543. }
  544.  
  545. leavelobbydialogboxwindow {
  546.     string    xanchor    "center"
  547.     string    yanchor    "center"
  548.     int    widthpix    198
  549.     int    heightpix    100
  550.     string    tile    "sloadngx.tga"
  551.     titlestatictext:FONT_8:MULTICOLOR:loadbar.leave {
  552.         int    xpix    25
  553.         int    ypix    22
  554.         int    widthpix    150
  555.         int    heightpix    15
  556.         string    just    "left"
  557.     }
  558.     descriptionstatictext:nsstatictext {
  559.     #    int    xpct    5
  560.     #    int    ypct    15
  561.     #    int    widthpct    90
  562.     #    int    heightpct    65
  563.     #    string    text    ""
  564.     }
  565.     progressbar {
  566.         string    xanchor    "center"
  567.         int    ypix    42
  568.         int    widthpix    180
  569.         int    heightpix    49
  570.         string    image0    "sloadngu.tga"
  571.         string    barimage    "sloadngd.tga"
  572.         string    type    "backandforth"
  573.         int    valuespersecond    100
  574.     }
  575. }
  576.  
  577. joindialogboxwindow {
  578.     string    xanchor    "center"
  579.     string    yanchor    "center"
  580.     int    widthpix    198
  581.     int    heightpix    100
  582.     string    tile    "sloadngx.tga"
  583.     titlestatictext:FONT_8:MULTICOLOR:loadbar.join {
  584.         int    xpix    25
  585.         int    ypix    22
  586.         int    widthpix    150
  587.         int    heightpix    15
  588.         string    just    "left"
  589.     }
  590.     descriptionstatictext:nsstatictext {
  591.     #    int    xpct    5
  592.     #    int    ypct    15
  593.     #    int    widthpct    90
  594.     #    int    heightpct    65
  595.     #    string    text    ""
  596.     }
  597.     progressbar {
  598.         string    xanchor    "center"
  599.         int    ypix    42
  600.         int    widthpix    180
  601.         int    heightpix    49
  602.         string    image0    "sloadngu.tga"
  603.         string    barimage    "sloadngd.tga"
  604.         string    type    "backandforth"
  605.         int    valuespersecond    100
  606.     }
  607.     button0:FONT_7:MULTICOLOR2:loadbar.cancel {
  608.         int    xpix    137
  609.         int    ypix    23
  610.         int    widthpix    34
  611.         int    heightpix    14
  612.         string    just    "center"
  613.     }
  614. }
  615.  
  616. createdialogboxwindow {
  617.     string    xanchor    "center"
  618.     string    yanchor    "center"
  619.     int    widthpix    198
  620.     int    heightpix    100
  621.     string    tile    "sloadngx.tga"
  622.     titlestatictext:FONT_8:MULTICOLOR:loadbar.create {
  623.         int    xpix    25
  624.         int    ypix    22
  625.         int    widthpix    150
  626.         int    heightpix    15
  627.         string    just    "left"
  628.     }
  629.     descriptionstatictext:nsstatictext {
  630.     #    int    xpct    5
  631.     #    int    ypct    15
  632.     #    int    widthpct    90
  633.     #    int    heightpct    65
  634.     #    string    text    ""
  635.     }
  636.     progressbar {
  637.         string    xanchor    "center"
  638.         int    ypix    42
  639.         int    widthpix    180
  640.         int    heightpix    49
  641.         string    image0    "sloadngu.tga"
  642.         string    barimage    "sloadngd.tga"
  643.         string    type    "backandforth"
  644.         int    valuespersecond    100
  645.     }
  646.     button0:FONT_7:MULTICOLOR2:loadbar.cancel {
  647.         int    xpix    137
  648.         int    ypix    23
  649.         int    widthpix    34
  650.         int    heightpix    14
  651.         string    just    "center"
  652.     }
  653. }
  654.  
  655. mouseblock {
  656.     string    cursor0    "Scursor1.tga"
  657. }
  658. $
  659.